<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: SurfaceNode Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">SurfaceNode Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SurfaceNode" --><!-- doxytag: inherits="SceneNode" --><div class="dynheader">
Inheritance diagram for SurfaceNode:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_surface_node.png" usemap="#SurfaceNode_map" alt=""/>
  <map id="SurfaceNode_map" name="SurfaceNode_map">
<area href="class_scene_node.html" alt="SceneNode" shape="rect" coords="0,0,87,24"/>
</map>
 </div></div>

<p><a href="class_surface_node-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab16f59569c4c42256d64bcebd76a02d5"></a><!-- doxytag: member="SurfaceNode::SharedPtr" ref="ab16f59569c4c42256d64bcebd76a02d5" args="" -->
typedef std::shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="class_surface_node.html">SurfaceNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>SharedPtr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9548bc90bed5b2cfc17f8e9c75344fc7"></a><!-- doxytag: member="SurfaceNode::WeakPtr" ref="a9548bc90bed5b2cfc17f8e9c75344fc7" args="" -->
typedef std::weak_ptr&lt; const <br class="typebreak"/>
<a class="el" href="class_surface_node.html">SurfaceNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>WeakPtr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36314a8d76520e17b2caa9191d946fb6"></a><!-- doxytag: member="SurfaceNode::const_shared_ptr" ref="a36314a8d76520e17b2caa9191d946fb6" args="" -->
typedef std::shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="class_surface_node.html">SurfaceNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>const_shared_ptr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a08ed7c385e8f0a4c7bfee3a480bd73"></a><!-- doxytag: member="SurfaceNode::const_weak_ptr" ref="a4a08ed7c385e8f0a4c7bfee3a480bd73" args="" -->
typedef std::weak_ptr&lt; const <br class="typebreak"/>
<a class="el" href="class_surface_node.html">SurfaceNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>const_weak_ptr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c6ea1d60f9a96693652ecfb41adf5b2"></a><!-- doxytag: member="SurfaceNode::Ptr" ref="a2c6ea1d60f9a96693652ecfb41adf5b2" args="" -->
typedef std::unique_ptr<br class="typebreak"/>
&lt; <a class="el" href="class_surface_node.html">SurfaceNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a837b9e4dd2285d1f449f24725bb44da7"></a><!-- doxytag: member="SurfaceNode::SurfaceNode" ref="a837b9e4dd2285d1f449f24725bb44da7" args="(ISurface *surface=NULL)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>SurfaceNode</b> (<a class="el" href="class_i_surface.html">ISurface</a> *surface=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_surface_node.html#a5cc69a4b81f6cdd7eebdb721094a41ed">~SurfaceNode</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17893c70a2072f8cc5af1993eee73a07"></a><!-- doxytag: member="SurfaceNode::nodeType" ref="a17893c70a2072f8cc5af1993eee73a07" args="() const " -->
virtual NodeType&#160;</td><td class="memItemRight" valign="bottom"><b>nodeType</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_surface.html">ISurface</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_surface_node.html#a3b889831e2b3a9cb119880d775ecb19a">surface</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_surface.html">ISurface</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_surface_node.html#afdfdb540080b2789a59a77993b3d743a">surface</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_surface_node.html#a2b5d04b9e454d1fe733decf083289d59">setSurface</a> (<a class="el" href="class_i_surface.html">ISurface</a> *surface)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5cc69a4b81f6cdd7eebdb721094a41ed"></a><!-- doxytag: member="SurfaceNode::~SurfaceNode" ref="a5cc69a4b81f6cdd7eebdb721094a41ed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SurfaceNode::~SurfaceNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Free resources used by this node.</p>
<p>The surface is not deleted </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2b5d04b9e454d1fe733decf083289d59"></a><!-- doxytag: member="SurfaceNode::setSurface" ref="a2b5d04b9e454d1fe733decf083289d59" args="(ISurface *surface)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SurfaceNode::setSurface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_surface.html">ISurface</a> *&#160;</td>
          <td class="paramname"><em>surface</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the surface contained in this node. </p>

</div>
</div>
<a class="anchor" id="a3b889831e2b3a9cb119880d775ecb19a"></a><!-- doxytag: member="SurfaceNode::surface" ref="a3b889831e2b3a9cb119880d775ecb19a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_surface.html">ISurface</a> * SurfaceNode::surface </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the surface contained in this node. </p>

</div>
</div>
<a class="anchor" id="afdfdb540080b2789a59a77993b3d743a"></a><!-- doxytag: member="SurfaceNode::surface" ref="afdfdb540080b2789a59a77993b3d743a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_surface.html">ISurface</a> * SurfaceNode::surface </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the surface contained in this node. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>engine/include/<a class="el" href="_scene_node_8h_source.html">SceneNode.h</a></li>
<li>engine/src/SceneNode.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu May 31 2012 16:19:52 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
